from django.db import models

class Categorie(models.Model):
  title = models.CharField(max_length=100)
def __unicode__(self):
 return self.title

class Post(models.Model):
 title = models.CharField(max_length=100)
 body = models.TextField()
 created = models.DateTimeField()
 category = models.ForeignKey(Categorie)
def __unicode__(self):
 return self.title
 
 
class Page(models.Model):
 title = models.CharField(max_length=100)
 body = models.TextField()
 created = models.DateTimeField()
def __unicode__(self):
 return self.title
 
class Website(models.Model):
  body = models.TextField()
def __unicode__(self):
 return self.title
 
 
class CloseBlog(models.Model):
 body = models.TextField()
def __unicode__(self):
 return self.title

 
class Slogan(models.Model):
 title = models.TextField()
def __unicode__(self):
 return self.title
 
class Title(models.Model):
 title = models.CharField(max_length=100)
def __unicode__(self):
 return self.title 